Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

feat: OpenAI Image Generation Tool #628

Merged
merged 10 commits into from
Nov 18, 2023

Conversation

EmanuelCampos
Copy link
Collaborator

@EmanuelCampos EmanuelCampos commented Nov 11, 2023

Description

Generate dall-e-3 images through text, and with agents

Next steps:

  • Fix generation with Agent

Type of Change

Please delete options that are not relevant.

  • New Loader/Tool
  • Bug fix / Smaller change
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Added new unit/integration tests
  • Added a new notebook (that tests end-to-end)
  • I stared at the code and made sure it makes sense

Suggested Checklist:

  • I have added a library.json file if a new loader/tool was added
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I ran make format; make lint to appease the lint gods

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@EmanuelCampos EmanuelCampos marked this pull request as ready for review November 16, 2023 14:08
)

"""Initialize with parameters."""
self.client = OpenAI(api_key=api_key)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

api_key should probably be optional, since it could be in os.environ

@anoopshrma anoopshrma merged commit a96e996 into run-llama:main Nov 18, 2023
3 checks passed
logan-markewich added a commit that referenced this pull request Nov 22, 2023
* wip

* wip

* json

* update readmes

* update readmes

* add zephyr query engine pack

* added llama packs for llava completion

* Update library.json

* Update base.py

* basic tests

* fix gmail agent

* llama pack implementation, documentation, and notebook

* incorporate pr feedback

* update readme

* Create streamlit_app.py

* Create requirements.txt

* Create README.md

* Add files via upload

* Update README.md

* wip

* wip

* wip

* Update README.md

* Update README.md

* incorporate pr feedback

* update format

* fix streamlit

* adding deeplake's packs

* adding trailing lines in inits

* Fix copy

* fix copy

* minor tweaks

* add library json

* add redis ingest

* add to library

* tests

* linting

* trulens packs

* readme center title

* readme header

* title

* cta in readme

* update readme to 3 pack

* md change

* md change to readme

* uncomment pip install

* linting

* linting

* reqs

* shorten readme

* add library json

* linting

* linting

* feat: OpenAI Image Generation Tool (#628)

* feat: dall-e-3

* chore: remove checkpoints

* lint

* cr

* chore: use multi-modal as an example

* chore: delete checkpoint

* chore: fix tests and lint

* cr

* lint

* wip

* first gradio chatbot up and running

* streaming works

* wip

* get everything working with two tools

* wip

* wip

* Add timescale  vector auto retriever pack

* update readme

* update readmes

* delay import

* linting

* update readme

---------

Co-authored-by: wglantz <[email protected]>
Co-authored-by: Wenqi Glantz <[email protected]>
Co-authored-by: Alexander Song <[email protected]>
Co-authored-by: Caroline Frasca (Lu) <[email protected]>
Co-authored-by: Simon Suo <[email protected]>
Co-authored-by: AdkSarsen <[email protected]>
Co-authored-by: Josh Reini <[email protected]>
Co-authored-by: Emanuel Ferreira <[email protected]>
Co-authored-by: Andrei Fajardo <[email protected]>
Co-authored-by: Matvey Arye <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants